package com.car;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.jms.annotation.EnableJms;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
/** @EnableTransactionManagement 
 * @EnableAsync // 开启定时任务的异步
@EnableScheduling // 开启定时任务
 * 
    * @ClassName: Demo1Application
    * @Description: TODO(这里用一句话描述这个类的作用)
    * @author 郝成浩
    * @date 2018年12月25日
    *
 */
@EnableJms

@EnableEurekaClient
@RestController
public class Demo1Application {

	public static void main(String[] args) {
		SpringApplication.run(Demo1Application.class, args);
	}
	
	
	
}
